package model.server;

import java.rmi.Remote;
import java.rmi.RemoteException;

import model.AuctionInformation;
import model.Item;
import model.WinnerInformation;
import model.exception.InvalidAuctionIDException;
import model.exception.WrongKeyException;

public interface SellerInterface extends Remote {

	public AuctionInformation createAuction(Item item, int startingPrice, int reservePrice) throws RemoteException;

	public WinnerInformation closeAuction(int auctionID, int key) throws RemoteException, InvalidAuctionIDException,
			WrongKeyException;
}
